package com.ruoyi.agriculture.knowledge.service;

import java.util.List;
import com.ruoyi.agriculture.knowledge.domain.ZsKnowledgeNodes;

/**
 * 知识图谱节点Service接口
 * 
 * @author ruoyi
 * @date 2025-08-01
 */
public interface IZsKnowledgeNodesService 
{
    /**
     * 查询知识图谱节点
     * 
     * @param id 知识图谱节点主键
     * @return 知识图谱节点
     */
    public ZsKnowledgeNodes selectZsKnowledgeNodesById(Long id);

    /**
     * 查询知识图谱节点列表
     * 
     * @param zsKnowledgeNodes 知识图谱节点
     * @return 知识图谱节点集合
     */
    public List<ZsKnowledgeNodes> selectZsKnowledgeNodesList(ZsKnowledgeNodes zsKnowledgeNodes);

    /**
     * 新增知识图谱节点
     * 
     * @param zsKnowledgeNodes 知识图谱节点
     * @return 结果
     */
    public int insertZsKnowledgeNodes(ZsKnowledgeNodes zsKnowledgeNodes);

    /**
     * 修改知识图谱节点
     * 
     * @param zsKnowledgeNodes 知识图谱节点
     * @return 结果
     */
    public int updateZsKnowledgeNodes(ZsKnowledgeNodes zsKnowledgeNodes);

    /**
     * 批量删除知识图谱节点
     * 
     * @param ids 需要删除的知识图谱节点主键集合
     * @return 结果
     */
    public int deleteZsKnowledgeNodesByIds(Long[] ids);

    /**
     * 删除知识图谱节点信息
     * 
     * @param id 知识图谱节点主键
     * @return 结果
     */
    public int deleteZsKnowledgeNodesById(Long id);
}
